package com.example.demo.mapper;

import com.example.demo.entity.User;

import java.util.List;

public interface UserMapper {
    User login(String username);

    int add(User user);

    List<User> getAll();

    int deleteUserByName(String username);

    int modifyUserByName(User user);
}
